package com.py.credit.entity;

import java.util.List;

/**
 * 资源数
 *
 * @author lufl
 */
public class TreeObj {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    private String id;

    /**
     * 中文名称
     */
    private String name;
    /**
     * 访问地址
     */
    private String url;
    /**
     * MOD模块M菜单R功能
     */
    private String type;
    /**
     * 父节点ID
     */
    private String pId;
    /**
     * 排序值
     */
    private Integer sort;

    private List<TreeObj> children;

    private String extend;

    private String icon;

    /**
     * 是否选中
     */
    private String checked;

    /**
     * 是否显示check box
     */
    private String nocheck;

    /**
     * 是否打开
     */
    private boolean open;

    /**
     * ztree 是否父节点
     */
    private String isParent;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getpId() {
        return pId;
    }

    public void setpId(String pId) {
        this.pId = pId;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public List<TreeObj> getChildren() {
        return children;
    }

    public void setChildren(List<TreeObj> children) {
        this.children = children;
    }

    public String getExtend() {
        return extend;
    }

    public void setExtend(String extend) {
        this.extend = extend;
    }

    public String getChecked() {
        return checked;
    }

    public void setChecked(String checked) {
        this.checked = checked;
    }

    public boolean isOpen() {
        return open;
    }

    public void setOpen(boolean open) {
        this.open = open;
    }

    public String getIsParent() {
        return isParent;
    }

    public void setIsParent(String isParent) {
        this.isParent = isParent;
    }

    public String getNocheck() {
        return nocheck;
    }

    public void setNocheck(String nocheck) {
        this.nocheck = nocheck;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

}
